package ioperation;

import Book.Book;
import Book.Booklist;

import java.util.Scanner;

/**
 * Created with Interllij IDEA.
 * Descriptiption:
 * User: 王澄慧
 * Date: 2022-04-16
 * Time: 20:20
 */
public class Seeiperation implements IPeration{
    @Override
    public void work(Booklist booklist) {
        System.out.println("显示图书");
        int currebtSize = booklist.getUserSize();
        for (int i = 0; i < currebtSize; i++) {
            Book book = booklist.getpos(i);
            System.out.println(book);
        }
    }
}
